import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
const layout = () => import('@/components/layout/index.vue')
const mainLayout = () => import('@/components/layout/mainLayout.vue')
const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    component: layout,
    children: [{
      path: '/',
      component: mainLayout,
    }]
  },
]
const router = createRouter({
  history: createWebHashHistory(),
  routes,
})
export default router;